<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>发帖页</title>
		<link rel="stylesheet" type="text/css" href="{$webSite}public/css/base.css">
		<script type="text/JavaScript" src="{$webSite}public/ckeditor/ckeditor.js"></script>
	</head>

	<style>
		.post{
			width:960px;
			min-height:500px;
			margin:0 auto;
			margin-top:20px;
		}

		/********	向导条guide		*************/
		.guide{
			width:960px;
			height:30px;
		//	background:orange;
			margin:0 auto;
		}
		.guide img{
	
			float:left;
		}
		.guide div{
			min-width:40px;
			max-width:120px;
			margin-left:5px;
			margin-top:3px;
			float:left;
			white-space:nowrap;
			text-overflow:ellipsis;
			overflow:hidden; 
		}
		/*********	顶部标题	*******/
		.post_top{
			width:960px;
			height:40px;
			margin:0 auto;
		}
		.post_top_border1{
			width:15px;
			height:40px;
			float:left;
			border-bottom:1px solid #ccc;
		}
		.post_top_font{
			width:80px;
			height:40px;
			float:left;
			border:1px solid #ccc;
			border-bottom:none;
			font-size:14px;
			font-weight:bold;
			text-align:center;
			line-height:40px;
		}
		.post_top_border2{
			width:860px;
			height:40px;
			float:left;
			border-bottom:1px solid #ccc;
		}

		/*********	帖子标题	*******/
		.post_title{
			width:960px;
			height:60px;
		}
		.post_title input{
			width:300px;
			height:30px;
			margin-left:15px;
			margin-top:20px;
		}

		/*********	中间的发帖内容	*******/
		.post_main{
			width:960px;
			min-height:350px;
			margin:0 auto;
			border-radius:5px;
		}
		.post_content{
			width:940px;
			height:350px;
			margin:0 auto;
		}

		/*****	底部金钱,验证码, 按钮	******/
		.post_bottom{
			width:960px;
			min-height:150px;
			margin:0 auto;
			margin-bottom:20px;
		}
		.post_bottom_font{
			width:70px;
			height:35px;
			font-size:14px;
			line-height:35px;
			background:#E5EDF2;
		}
		.post_bottom_money{
			width:960px;
			height:45px;
			background:#E5EDF2;
			font-size:14px;
			line-height:45px;
		}
		.post_bottom_money input{
			width:60px;
			height:20px;
			
		}
		.post_bottom_money span{
			color:#ccc;
			
		}
		.post_ymz{
			width:960px;
			height:55px;
			font-size:14px;
			background:#E5EDF2;
		}
		.post_ymz img{
			width:100px;
			height:40px;
			float:left;
			//background:#fff;
			margin-top:5px;
			margin-left:15px;
		}
		.post_ymz input{
			width:80px;
			height:20px;
			float:left;
			margin-top:15px;
			margin-left:30px;
		}
		.post_btn{
			width:960px;
			height:50px;
		}
		.post_btn input{
			width:70px;
			height:35px;
			background:#7B68EE;
			color:#fff;
			font-size:14px;
			font-weight:bold;
			float:left;
			margin-top:10px;
			margin-left:30px;
		}
		

	</style>
	
	<body>

		<div class="post">

			<!-- 向导条部分 -->
			<div class="guide clearFix">
				<img src="{$webSite}public/images/guide.png">
				<div><a href="">论坛 > </a></div>

				

				<div><a href="">{$parentName} > </a></div>

				<div><a href="">{$sonName} > </a></div>

				<div><a href=""> 发表帖子 </a></div>
			</div>

			<!-- 顶部边框 -->
			<div class="post_top clearFix">
				<div class="post_top_border1"></div>
				<div class="post_top_font">发表帖子</div>
				<div class="post_top_border2"></div>

			</div>

			<!-- form表单 -->
			<form action="{$webSite}admin/home/post.php" method="post" enctype="multipart/form-data">

			<!-- 标题 -->
			<div class="post_title">
				
				<input type="text" name="title" maxlength="20" placeholder="&nbsp;输入标题 (不超过 20 字)">
			</div>

			<!-- 这是发帖页 (此处添加编辑器) -->
			<div class="post_main">
				
				<textarea id="ckeditor" class="ckeditor" name="post_content">人生若只如初见</textarea>
			</div>
			
			<!-- 售价, 验证码 -->
			<div class="post_bottom">
				
				<div class="post_bottom_font">&nbsp;&nbsp;&nbsp;&nbsp;售价</div>
				
				<!-- 金钱 -->
				<div class="post_bottom_money">
					&nbsp;&nbsp;&nbsp;&nbsp;售价&nbsp;<input type="text"  name="price" maxlength="2" placeholder="&nbsp;价格" value="">&nbsp;金钱 &nbsp;<span>(最高 30 ,不填则默认为 0 )</span>
				</div>
				
				<!-- 验证码 -->
				<div class="post_ymz clearFix">
					
					
					<input type="text" placeholder="&nbsp;验证码" name="Pverify">
					<img src="{$webSite}helper/yzm.php" onclick="this.src='{$webSite}helper/yzm.php'">
				</div>
				<input type="hidden" name="postCid" value="{$postCid}"/>
				<!-- 发帖 按钮 post_btn -->
				<div class="post_btn">
					
					<input type="submit" value="发表帖子">
				</div>
				
			</div>

			</form>
			
		</div>
	</body>
</html>